* {
  font-family: 'Avenir', sans-serif;
  font-weight: normal;
}

header h1,h2,h3 {
    text-align: center;
}

.center {
    text-align: center;
}

img.image {
    max-width: 256px;
}

header h1 {
    margin-bottom: .0px;
}

#footer {
    width: 100%;
    height: 50px;
}

/*a.title */
a.title {
    color: black;
    text-decoration: none;
}

a.title h1 {
    /* Hacky thinner underline. */
    display: inline-block;
    box-shadow: inset 0 -7px 0 white, inset 0 -8px 0 black
}

#links {
    text-align: center;
    font-size: 1.2em;
    /*position: fixed;*/
    /*top: 0px;*/
    /*right: 0px;*/
    /*margin-lft: 20px;*/
    /*margin-top: 25px;*/
}

.awrap {
    /*width: 80px;*/
    margin-top: 10px;
    margin-right: 30px;
    margin-bottom: 20px;
    display: inline-block;
}

.awrap#star {
    position: relative;
    top: 4px;
}

#links a {
    /*float: left;*/
    /*width: 50px;*/
    /*margin: 20px;*/
    color: gray;
}

.image_container {
    /*position: relative;*/
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 80%;
    max-width: 900px;
    height: 100%;
    text-align:center;
}

.image_container img {
    position: relative;
    box-sizing: border-box;
    z-index: 2;
    width: 23%;
    margin-left: 3px;
    margin-right: 3px;
    cursor: pointer;
    border: 1px solid white;
}

.container.top {
    display: relative;
    width: 100%;
    /*height: 120px;*/
    /*background-color: red;*/
    text-align:center;
}

.text_container {
    color: gray;
    font-size: 1.2em;
    margin: 0 auto;
    width: 80%;
    max-width: 700px;
    text-align: justify;
}

.text_container a {
    color: gray;
}

.image {
    /*margin:0 auto;*/
    /*width:100%;*/
}
/*
.option.parent {
    margin-top: 16px;
    width: 96px;
    height: 96px;
    float: left;
    margin-left: 15%;
}

.option p {
    position: absolute;
    top: 96px;
}

.option.parent img {
    width: 100%;
    height: 100%;
}

.option.cross {
    margin-top: 16px;
    width: 96px;
    height: 96px;
    float: right;
    margin-right: 15%;
}
*/
.image_container.content img:hover {
    border: 1px solid black;
}

@media only screen and (max-width: 700px) {
    body {
        margin-left: 0px;
        margin-right: 0px;
    }
    .image_container {
        max-width: inherit;
        width: 100%;
        margin-top: 0px;
    }
    .text_container {
        max-width: inherit;
        width: 90%;
    }

    header h1 {
        font-size: 1.5em;
    }

    .image_container img {
        /* Switch to 3-cols and 4 rows */
        width: 31%;
    }

    img.image {
        /*width: 25%;*/
    }

    .awrap {
        margin-right: 20px;
    }
}